package com.lovo.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.lovo.bean.StudentBean;
import com.lovo.dao.IStudentDAO;
import com.lovo.service.IStudentService;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class StudentServiceImpl extends ServiceImpl<IStudentDAO,StudentBean> implements IStudentService {

    @Override
    public void add(StudentBean studentBean) {
        System.out.println("增加学生");
    }

    @Override
    public List selectAll(String name) {

        return this.getBaseMapper().selectAll(name);
    }
}
